package com.demo.finalClass;

import lombok.Data;

@Data
public final class SmsInfo {

	private final long id;

	private final String url;

	private final Long maxSizeInBytes;

	public SmsInfo(long id, String url, Long maxSizeInBytes) {
		this.url = url;
		this.maxSizeInBytes = maxSizeInBytes;
		this.id = id;
	}

	public SmsInfo(SmsInfo smsInfo) {
		this.url = smsInfo.getUrl();
		this.maxSizeInBytes = smsInfo.getMaxSizeInBytes();
		this.id = smsInfo.getId();
	}
}
